package buymyhome.com.service;

import buymyhome.com.pojo.LetHouse;
import buymyhome.com.vojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 杨世博
 */
public interface LetHouseService extends IService<LetHouse> {
    /**
     * 获取租房房源信息
     * @param name
     * @param page
     * @param limit
     * @return
     */
    Result getAdminLetHouse(String name, Integer page, Integer limit);

    /**
     * 删除房源
     * @param id
     * @return
     */
    Result delLetHouse(Long id);
}
